Il Forum è consultabile solo in modalità lettura. Per domande o consigli iscriviti al nostro GRUPPO FACEBOOK / COMMUNITY cliccando qui

[GUIDA] Cucinare Custom Rom Android con Kitchen 0.188

Discussione in 'Guide modding' iniziata da lucky76, 15 Apr 2011.

  1. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    dsixda's HTC Android Kitchen



    Scrivo questa guida dopo più di un anno di android e dopo tantissime prove varie per cercare di aiutare tutte quelle persone che come me sono appassionate di android e vogliono provare a crearsi una propria Custom Rom personale ad Hoc o tentare dei Porting da altri Device e sono alle prime esperienze su questo sistema e sulla programmazione Android.

    La guida si basa su di un Programma HTC Android Kitchen creato da un utente del forum XDA quindi tutti i ringraziamenti vanno a questo dev. dsixda . Io proverò a fare una guida in italiano per utenti Windows (2000, XP, Vista, 7) anche se il programma essendo basato su Linux è compatibile ovviamente anche per sistemi Linux Ubuntu/altri e Mac OS X.


    Per chi è questa guida:
    • Per coloro che sono alle prime armi nel costruirsi una custom rom personalizzata.
    • Per coloro che vogliono semplicemente modificare custom rom già esistenti.
    • Per coloro che sono confusi da tutti quegli script e comandi complessi necessari per la costruzione e l'estrazione delle rom.
    • Per coloro che vogliono diventare dei novelli programmatori per rom Android

    Ovviamente si presuppone di aver già installato in precedenza nel proprio Device la RecoveryModificata appropriata per fare eventuali Backup da utilizzare come base di partenza per la propria rom e per Flasharla a lavoro terminato.

    Questo programma è compatibile con Sistemi Windows (Tramite Cygwin) / Linux / Mac OS X. Questa Guida comunuqe è rivolta per utenti Windows.

    Per il momento il programma è tutto in Inglese ma sto traducendo il tutto in Italiano per facilitarne il suo utilizzo. Fino ad ora ho tradotto tutte i due Menù e già andrebbe bene......

    NEWS 8 Gennaio 2012
    L'update continua di questo Fantastico programma lo sviluppatore ha aggiornato il programma portando la compatibilità per ICS 4.0.3


    - Funzioni Supportate dal Programma:
    Codice:
    ===================================================================
     HTC Android Kitchen - by dsixda (xda-developers.com)
    ===================================================================
    
    Main Menu
    
     1 - Set up working folder from ROM
     2 - Add root permissions
     3 - Add BusyBox
     4 - Disable boot screen sounds
     5 - Add wireless tethering
     6 - Zipalign all *.apk files to optimize RAM usage
     7 - Change wipe status of ROM
     8 - Change name of ROM
     9 - Check update-script for errors
    10 - Show working folder information
    
     0 - Advanced Options
    99 - Build ROM from working folder
    
     u -  Update/About kitchen
     x -  Exit
    
    Enter option: _
    
     11 - Deodex files in your ROM
     12 - Add task killer tweak for speed (stock ROM only)
     13 - Add /data/app functionality
     14 - Add Nano text editor + sysro/sysrw
     15 - Add Bash (command shell)
     16 - Add Apps2SD
     17 - Add /etc/init.d scripts support (busybox run-parts)
     18 - Add custom boot animation functionality
     19 - Porting tools (experimental)
     20 - Tools for boot image (unpack/re-pack/etc.)
     21 - Unpack data.img
     22 - Sign APK or ZIP file(s)
     23 - Convert update-script or updater-script
     24 - Miscellaneous optins / Plugin scripts
    
    
    99 - Build ROM from working folder
     0 - BACK TO MAIN MENU
    
    Enter option: _ 
    

    Changelog:
    Version 0.188 (February 12, 2012):
    • Added check for 'zip' and 'unzip' binaries before starting kitchen
    • Added API Level parameter in Decompile APK plugin
    • Updated help text in certain scripts to prevent more newbie confusion
    • Added updater-script mount points for Galaxy W (GT-I8150)

    Version 0.187 (January 19, 2011):
    • Fixed issue where symlinks were not detected in newer RFS-based ROMs, e.g. for Samsung Infuse 4G
    • Fixed issue where system.ext4.tar and PDA.tar were shown twice in ROMs menu

    Version 0.186 (January 18, 2011):
    • Fixed issue where ICS ROMs built for SGS2 had Samsung keypad not opening but displaying error
    • Added support for SGS2 Nandroid backups that use system.ext4.tar and boot.img
    • Fixed issue where flash_image/redbend_ua were not removed if zImage/modem.bin no longer present in ROM (Galaxy S2/S)

    Version 0.185 (January 14, 2011):
    • Updated deodex tools to 1.3.2
    • Fixed issue where we couldn't disable boot sounds for Galaxy S2 leaked 4.0 ROMs

    Version 0.184 (January 8, 2011):
    • In boot.img Tools option, when showing boot.img information, check for valid or supported boot.img before displaying info
    • Show error if user tries to extract contents of boot.img but zImage (kernel) is empty -- this is because boot.img is not in a supported format

    Version 0.183 (December 24, 2011):
    • Added Samsung Galaxy Nexus updater-script support
    • Updated BusyBox to 19.3
    • Fixed issue where Zipalign may try to run on a folder that has a name that ends with 'apk'
    • Sped up removing of APK files from CSC (Samsung Galaxy S/S2/S Plus)
    • Added BusyBox run-parts support for Honeycomb/ICS

    Version 0.182 (December 20, 2011):
    • Added Samsung Galaxy S Plus (I9001) support
    • Updated boot.img re-packing source code to ICS version, to fix Galaxy Nexus stability issue (thanks to mike1986., steveeJ, madmaxx82)
    • Added unpacking support for system.img from Galaxy Nexus
    • Updated Zipalign to version in SDK R16
    • Can now remove apps from Multi-CSC image files for Samsung Galaxy S/S2/S Plus
    • Fixed minor issue with writing boot.img in Edify-to-Amend conversion script
    • Added Epic 4G Touch support to Galaxy S2 variants folder
    • Improved log messages in deodex routine
    • Improved cleanup of extra files during launch/exit of kitchen

    Version 0.181 (December 13, 2011):•Added support for Samsung Galaxy S2 LTE devices (eg. AT&T SkyRocket, Rogers GS2 LTE, T-Mobile SGH-T989, Telus GS2 X)
    • Added detailed header information when showing boot.img info (under boot.img Tools option), including ramdisk size/address
    • Added mount points for HTC Rezound
    • Added support for system.img Nandroid backups in TAR format
    • Added support for unpacking data.img in TAR format
    • Added support for TAR archive containing system folder
    • Fixed unnecessary error where script couldn't find updater-script at end of Edify-to-Amend conversion
    • Updated CWM to 3.0 for SGS2 plugin script
    • Fixed issue where BOOT-EXTRACTED folder was not removed when aborting Task Killer option

    Version 0.180 (November 30, 2011):
    • Updated de-odex tools to 1.3.0, which includes Honeycomb and ICS support and now involves setting the API Level
    • Updated Superuser to 3.0.6
    • Updated ZipAlign to version in SDK R15
    • Fixed issue when copying contents of CSC from its subfolders (Galaxy S and Galaxy SII only)
    • Fixed issue in signing APK/ZIP option where an empty folder was not detected or removed
    • Fixed error when extracting Galaxy S tar.md5 file

    Version 0.179 (September 10, 2011):
    • Added support for extraction of lib.img file in HTC shipped ROMs
    • Added option to ignore errors when choosing option to deodex a single file
    • Added patched smali/baksmali 1.2.8 for deodexing Honeycomb ROMs - thanks to Roach
    • Allow for creation of working folder from a ZIP that has system.img but no boot.img
    • Updated help text in some areas to prevent same newb questions from being asked repeatedly

    Version 0.178 (August 31, 2011):
    • Added support for Samsung Galaxy S (GT-I9000 and most variants) stock ROMs (in TAR/TAR.MD5 file, ZIP file or factoryfs.rfs etc. format)
    • Added support for Samsung Galaxy S Nandroid backups (system.img and boot.img)
    • Added limited support for Samsung Galaxy S custom ROMs (only those created by kitchen)
    • Added option to cancel operation if user had chosen to create working folder
    • Added new menu when user chooses to create working folder, with options to show supported file formats, cancel operation, or continue
    • Added plugin script to decompile and compile a deodexed APK/JAR
    • More bug fixes in Amend/Edify conversion scripts
    • Fixed issue in Linux where it was unable to unpack the SGS/SGS2 initramfs due to permissions issue
    • Fixed issue that may occur if user chose single-file deodex method and multiple versions of smali/baksmali are in the same tools folder
    • When showing working folder information, it will no longer abort if boot.img or zImage are missing
    • Updated deodex routine to have better support for Galaxy S ROMs (i.e. no warning messages or errors)
    • Added plugin script to extract csc_sec.zip (CSC) from Galaxy S stock cache.rfs
    • Updated porting routine to support Galaxy S (untested and experimental)
    • Fixed issue when building boot.img, where it won't show the size information correctly if size is less than 1 MB (e.g. for the Null boot.img)
    • Sped up refreshing of plugins menu
    • Removed references to "HTC Kitchen" label in kitchen, since kitchen supports other manufacturers' ROMs as well (although best compatibility will still be for HTC ROMs)

    Version 0.177 (August 23, 2011):
    • Added new smali/baksmali 1.2.8 for de-odexing
    • Fixed missing file error when running busybox run-parts routine
    • Fixed deodexing syntax errors in Linux/Mac (a couple of files were not formatted for Unix format)
    • Fixed sysro/sysrw issues with certain ROMs that do not support the regular 'mount' command; will now use busybox mount
    • Allow SGS2 ROMs to add sysro/rw even if Nano cannot be installed
    • Stop prompting every time to replace current ROM's version of busybox unless user has selected Add BusyBox from menu

    Version 0.176 (August 22, 2011):
    • Fixed mount point issue with sysro/rw scripts and added back to kitchen (Thanks to dr.notor)
    • Fixed issue with extra blank lines created in update-script after selecting certain options
    • When unpacking boot.img, check for missing zImage or ramdisk folder
    • Fixed some issues with init.rc when porting Samsung Galaxy S2 stock ROM to other devices
    • Added plugin script to extract initramfs (ramdisk) from certain Galaxy S2 zImages (Thanks to mistadman)
    • Added updater-script support for Samsung Galaxy S2 GT-I9100T and GT-I9100G
    • If Galaxy S2 zImage can be unpacked successfully, more info will be shown in "Show Working Folder Info" option

    Version 0.175 (August 20, 2011):
    • Added support for Samsung Galaxy S2 stock ROMs (in TAR file, ZIP file or factoryfs.img etc.) - Thanks pulser_g2
    • Added support for Samsung Galaxy S2 Nandroid backups (system.img and boot.img)
    • Added limited support for Samsung Galaxy S2 custom ROMs (only tested with Villain ROM) and ROMs created by kitchen
    • Added option to log the deodexing results to file
    • Updated deodex tools (smali and baksmali) to 1.2.7 - Thanks JesusFreke
    • Many bug fixes and updates to Amend/Edify conversion scripts
    • Updated deodex routine to have full support for Galaxy S2 ROMs (i.e. no warning messages or errors)
    • Updated 'show working folder' output to support Galaxy S2 info, including CSC Version
    • Added plugin script to extract csc_sec.zip (CSC) from SGS2 stock cache.img
    • Added plugin script to add ClockworkMod Manager for SGS2
    • Updated updater-script definition file for HTC Evo 3D - Thanks TMartin
    • Removed sysro/sysrw option, due to obsolete/incorrect implementation - Thanks dr.notor
    • Updated Nano option to install to /system/xbin rather than /system/bin
    • Updated porting routine to support Galaxy S2 or equivalent (untested and experimental)
    • Added support for disabling boot sounds on Galaxy S2

    Version 0.174 (August 10, 2011):
    • Fixed issue where terminal would hang after files were extracted from ext4 system.img in Ubuntu Linux 11.04

    Version 0.173 (August 7, 2011):
    • Fixed issue in certain cases where conversion of set_perm/set_perm_recursive to updater-script doesn't add quotes around file
    • Fixed syntax error during conversion to update-script if symlink source contains backslashes (ie. is under a directory)
    • Fixed error during conversion to update-script if symlink source and target are separated by more than one space
    • updater-script support for HTC Flyer and HTC Evo View 4G added (untested)

    Version 0.172 (July 21, 2011):

    • Fixed issues with partition name conversions in Amend/Edify conversion scripts
    • Fixed issue where subfolders in working folder were being deleted if custom ROM also contains system.img
    • Fixed issue where system.img was not being included when building ROM, if it existed in working folder
    • Added more support for Motorola Atrix in Amend/Edify conversion scripts
    • Added support for set_progress command in updater-script
    • Added updater-script support for LG Optimus 3D (although boot.img may not be compatible with kitchen)
    •Added updater-script support for LG Optimus Black (untested)

    Version 0.171 (July 10, 2011):

    • Added updater-script support for HTC Evo 3D and HTC Droid Incredible 2
    • Fixed issue in Cygwin that prevents kitchen from listing available ROMs, which happens if original_update folder shows "????????" for all of its file/folder attributes
    • Fixed conversion issue with updater-scripts if run_program parameters contain spaces and special characters
    • When building ROM, kitchen will now delete temp files (sed*) that are left behind if user had interrupted a previous Amend/Edify conversion
    • Fixed updater-script issue where some HTC devices were not using 'vfat' format for sdcard
    • When using update-script verification option, skip warning if run_program is using anything from /sbin folder
    • Fixed incorrect mount points for HTC Sensation (thanks to mike1986)
    • More minor fixes to Amend/Edify conversion scripts

    Version 0.170 (July 6, 2011):

    • Amend/Edify conversions will now only take a few seconds rather than minutes ;-)
    •In Amend-to-Edify conversion script, added a prompt in the beginning to remove updater-script if it exists alongside update-script
    • In Edify-to-Amend conversion script, added a prompt in the beginning to remove update-script if it exists alongside updater-script
    • Show warning if user decides to add Apps2SD on certain devices (to prevent issues where people didn't read the earlier warning and installed Apps2SD anyway, causing non-booting ROM)
    • Added updater-script support for Motorola Atrix (beta only)
    • Better error handling in several places where script expects update-script but working folder doesn't have it (e.g. user has updater-script instead)
    • Fixed formatting error in Edify-to-Amend conversion script that occurs if set_perm or set_perm_recursive doesn't contain space between the commas
    • Fixed potential issue in Edify/Amend conversion scripts where the mount point names in the new updater-script could be blank
    • Fixed formatting issue in Edify/Amend conversion scripts that may happen when assert command is used around run_program
    • Fixed issue with run_program command in updater-script, where conversion script was only setting permission 0777 to last occurrence of run_program (this permission applies to scripts in root of working folder)
    • Fixed issue when converting from Amend to Edify and back to Amend, where new update-script may be slightly different from original update-script due to a conversion issue with run_program

    Version 0.169 (June 29, 2011):
    • Added updater-script support for LG Optimus G2X
    • Added updater-script support for LG Optimus 2X
    • Added option to remove busybox symlinks from update(r)-script, to save a significant amount of time when converting to Amend/Edify script (busybox symlinks will be moved to script 'installbusybox' in ROM)
    • Optimized speed when converting updater-script to Amend format
    • Optimized speed when converting update-script to Edify format
    • Added option under boot.img tools to change the command line parameter of boot.img
    • When rebuilding the boot.img, the size of the old and new boot.img will be displayed
    • Added option to remove busybox symlinks from update-script when unzipping a custom ROM, to reduce size of file (busybox symlinks will be moved to script 'installbusybox' in ROM)
    • Added more checks when starting kitchen, to ensure it is launched from correct folder
    • While adding busybox, if it already exists under /system/bin or /system/xbin, user will be prompted to overwrite it with version in kitchen
    • Added symlink to /system/bin/busybox when adding busybox to ROM
    • Kitchen will remove all comments from update-script after extracting ROM from update ZIP, to prevent potential script issues
    • Removed redundant lines that were being added to update-script for busybox
    • Better handling of a bad boot.img when trying to extract files from it
    • Fixed error in 'Show boot.img Information' option, where an empty command line shows up as double quotes rather than None
    • Fixed errors that occur when trying to build boot.img with no command line
    • Fixed errors in Cygwin that occur when user tries to back up working folder while it is still in use
    • Fixed error in Amend/Edify conversion scripts where symlinks to data partition were not converted properly

    Version 0.168 (June 21, 2011):
    • Added fix for script errors that show up when ROM names under original_update contain spaces

    Version 0.167 (June 17, 2011):
    • Updated ChainsDD Superuser.apk to 2.3.6.3 as well as 'su' binary to 2.3.2-efgh
    • Added updater-script support for HTC Desire Z / Vision / T-Mobile G2
    • Added updater-script support for HTC Sensation
    • Added wi-fi fix for certain Huawei devices (thanks to twrock)

    Version 0.166 (June 12, 2011):

    • Updated ChainsDD Superuser.apk to 2.3.6.2 as well as 'su' binary to 2.3.1-efg
    • Updated zipalign binary for Mac and Windows to version in Android SDK version R11

    Version 0.165 (June 2, 2011):

    • Old working folders will now be backed up to original_update instead of OLD_WORKING
    • When showing list of available ROMs, kitchen will now display and allow re-use of working folders stored under original_update
    • Removed obsolete folders under 'tools' folder to reduce size of kitchen (e.g. HTC Dream 1.5 kernel for wireless tether app)
    • Added more error checking when setting custom name for working folder

    Version 0.164 (May 28, 2011):

    • Fixed issue where kitchen cannot successfully convert updater-script that contains symbols in ui_print statement
    • Added a fix to ensure that /data/app information is added to update-script even if required content is missing in file
    • Added a fix to ensure that boot animation information is added to update-script even if required content is missing in file
    • Add a check for missing script folders when starting kitchen, to prevent questions in thread asking why menu options are not working

    Version 0.163 (May 20, 2011):

    • Added support for Nexus S 4G
    • Fixed issue when porting, caused by version 0.161, where mount points in ported ROM's updater-script may be blank
    • Fixed issue when porting, where ported ROM's updater-script may contain wrong mount point names
    • Display appropriate error messages in Linux if unable to extract files from EXT3/EXT4-based system.img

    Version 0.162 (May 17, 2011):
    • When using option to sign ZIPs/APKs from a folder, don't sign file if name contains spaces (not fully supported by operating system)
    • If user's OS is missing specific binaries required for the kitchen, then don't prompt to continue, but instead quit - to prevent unexpected behaviour to ROM and computer
    • When extracting files from stock ROM, don't remove install-recovery.sh or recovery-from-boot.p, but instead rename them
    • Added more help text to porting option, to prevent confusion and repetitive questions

    Version 0.161 (May 8, 2011):

    • Fixed issue where Amend/Edify conversion scripts were not accounting for new filesystem types in CyanogenMod nightlies
    • Added option to sign APKs from a non-Working folder
    • Added Batch De-odexer plugin
    • Fixed error when backing up working folders, where only one working folder is shown in display even though more than one are present
    • Fixed issue where update-script should have been converted to updater-script in a specific case
    • Added progress indicator when loading plugins
    • Added progress indicator before showing boot.img info
    • Modified mount points for a couple of devices in edify_defs folder
    • Added more help text in some places, to prevent the same questions being asked over and over ;-)

    Version 0.160 (May 4, 2011):

    •Added option under Advanced menu to sign ZIP files
    •Updated wireless tether app to 2.0.7 (from 2.0.2)
    •Added progress indicator when converting symlink statements in Amend/Edify conversion scripts
    •Added progress indicator when creating symlinks after unpacking system.img
    •Added progress indicator when gathering infomation for 'show working folder' option
    •When porting a ROM, script will no longer waste time creating symbolic links for first ROM if it is a ZIP file containing system.img (only the kernel and modules are required)
    •When creating working folder, don't copy ZIP file to the new working folder before unzipping it; instead unzip it straight from original_update and into the working folder (saves some time)
    •Fixed issue where a syntax error would result when porting a ROM but user had cancelled selecting the first ROM
    •Added new folder tools/edify_defs containing a set of device-based files, to make it easier to add definitions for devices with special mount points in updater-script
    •Fixed issue in 'show working folder' script, where BOOT-EXTRACTED was not removed if default.prop not found

    Version 0.159 (April 27, 2011):
    •Added support for Incredible S

    Version 0.158 (April 24, 2011):
    • Added support for Desire S
    • Changed order of operations when building ROM (e.g. in Interactive Mode it asked to sign ROM but didn't actually sign it until after it renamed the ROM)
    • Simplified the 'Show working folder' option so that it doesn't waste time unpacking boot.img when update-script or build.prop is missing

    Version 0.157 (April 22, 2011):
    • Added option to use custom ROM name in Interactive build mode
    • Added check for presence of multiple working folders
    • Added check for missing /system folder for all menu options

    Version 0.156 (April 21, 2011):
    • When running update-script verification tool, an option will be given to automatically resolve symlink issues

    Version 0.155 (April 20, 2011):
    • Fixed issue where script was incorrectly parsing the boot.img command line and kernel base address in leaked ROMs containing 911sniper's folder format
    • Added option in boot.img unpacking/re-packing script to show contents of boot.img (command line, page size and kernel base address)
    • Added 'Extreme mode' in build options, which bypasses zipalign, Edify conversion and signing of ROM
    • Fixed issue where 'fake' boot.img was being included in ROMs where boot.img was not supposed to be included

    Version 0.154 (April 16, 2011):
    • Added option to use a custom name for working folder when it is created
    • Added support for leaked shipped ROMs in special format where each partition is in folders (i.e. 911sniper's ZIPs)
    • Added support for Dell Streak 7
    • When extracting kernel and modules (from Porting menu) from a ROM containing system.img or UPDATE.APP, script will no longer waste time unnecessarily creating symbolic links in update-script - because only the modules are copied
    • Fixed issue when reading value from build.prop containing a space
    • More fixes to Amend-to-Edify conversion script
    • When creating working folder, if both Amend and Edify scripts are found in ZIP and user decides to keep updater-script, then the update-script will now be deleted and user will be asked to convert updater-script to Amend format.

    Versione 0.153 (April 9, 2011):
    • Fixed issues with updater-script when creating ROM for myTouch 4G (HTC Glacier)
    • When porting ROM, ro.product.board parameter in build.prop will be updated
    • Fixed issue when porting ROM, where a listing of board's *.rc files would cause error if not found
    • Optimized a part of Edify-to-Amend conversion script

    Version 0.152 (April 4, 2011):
    • When porting ROM, ro.board.platform parameter in build.prop will be updated to prevent boot loop - thanks to xHausx
    • Framework APKs will be included when using option to sign all APKs
    • If error occurs during zipalign, it will exit immediately, and if building the ROM, the build will be cancelled

    Version 0.151 (April 4, 2011):
    • When porting ROM, rename *.rc files in ramdisk if necessary
    • Updated BusyBox to 1.19

    Version 0.150 (March 31, 2011):
    • Added option to sign ROM in Interactive build mode
    • Added more error checking before building ROM

    Version 0.149 (March 25, 2011):
    • Device's name will now be included in name of finished ROM, e.g. passion_signed_031211_023515.zip
    • Added rmk40's Superuser patch to Root option menu (for newer Sense devices)
    • Removed annoying warnings in Cygwin whenever extracting kernel and ramdisk from boot.img
    • Modified the default update-script to allow for Nexus S compatibility
    • Added support for HTC and non-HTC radio in Amend/Edify scripts
    • Fixed issue where bootloader.img was being included in working folder
    • Fixed issue where an invalid code was returned by script after checking offset of kernel in boot.img

    Version 0.148 (March 23, 2011):
    • Added support for HTC Thunderbolt
    • Fixed an issue in Edify-to-Amend conversion script
    • If system.img is in EXT* format, script will display a warning in Cygwin if file is in use when attempting to delete it after unpacking

    Version 0.147 (March 22, 2011):
    • Added a menu for user to choose between Explore2fs and Ext2Explore if system.img uses EXT filesystem
    • Updated the 'experimental' Porting option to include more drivers when creating ported ROM - thanks to TMartin03
    • Fixed syntax error when script is checking whether update-script needs to be converted to updater-script
    • Updated 'Show working folder info' screen to show model name of device
    • More updates to Amend/Edify conversion scripts
    • Fixed issue where ROM porting routine does not exit if the first ROM was not unpacked properly
    • Added more error checking when unpacking an EXT-based system.img
    • When building ROM, it will remove 'system.img' if it still exists

    Version 0.146 (March 21, 2011):
    • Added support for importing Nexus S custom ROMs

    Version 0.145 (March 20, 2011):
    • When building NAND ROM, user will now be given option to use /boot folder or boot.img, to allow for compatibility with MAGLDR and cLK bootloaders
    • The files mkbootimg.c, extract-kernel.pl and extract-ramdisk.pl will not be overwritten every time they are used, if they already have the correct kernel offset
    • The file unyaffs.c will not be overwritten every time it is used, if it already has the correct YAFFS chunk/spare size

    Version 0.144 (March 19, 2011):
    • Added support for ROMs with EXT4 filesystems in Cygwin (e.g. HTC Desire S), by replacing Explore2fs with Ext2Explore This tool also unpacks the EXT3/EXT4 system.img faster
    • Fixed syntax error when unpacking ZIP file containing system*.img and boot*.img
    • Fixed error where default for Build menu was actually selecting Cancel instead of Interactive
    • 'Unpack/Re-pack boot.img' option no longer requires the presence of working folder
    • Fixed issue in 'Unpack/Re-pack boot.img' menu, where the option to extract boot.img in any folder was looking at boot.img attributes in working folder rather than in new folder
    • Fixed issue in 'Unpack/Re-pack boot.img' menu, where boot.img could not be unpacked if its Android header is not at address 0 (eg. Thunderbolt ROM) and it was added after working folder was created

    Version 0.143 (March 18, 2011):
    • Fixed issue when building NAND ROM, where a bad line was added to updater-script that was was trying to copy a folder called "boot.img"
    • Fixed issue in Amend-to-Edify conversion if update-script contained set_perm of CACHE partition
    • Fixed issue when extracting shipped ROM, where boot_*.img could not be renamed to boot.img if hboot*.img present.
    • Fixed issue where a syntax error would occur if Huawei shipped ROM was called UPDATA.APP (script was trying to rename it to the same name)
    • Fixed issue where Apps2SD was not detected in certain ROMs
    • Added 'Cancel' option in Build menu

    Version 0.142 (March 15, 2011):
    • Zipalign will support file names with space character

    Version 0.141 (March 12, 2011):
    • Added two options in Build menu: Express and Interactive
    • Fixed issue where the 'Update/About' option would say a new kitchen was downloaded even though server was down
    • Added prompt for zipalign when building ROM
    • Added prompt and help text when user selects custom boot animation functionality
    • Added 'beep' sound after a build completes (not supported on all computers)
    • Fixed issue where 'sh.exe.stackdump' may be present in final ROM under various folders; script will now remove it when building ROM
    • Fixed issue where kitchen would mention that the update.zip was created during a build, even when it actually wasn't

    Version 0.140 (March 7, 2011):
    • Fixed broken functionality for data.img unpacking
    • everted to older update-binary for devices using MTD, due to reported issues with older devices not flashing successfully
    • Fixed issue where 'reboot' symlink was being added to ROM that didn't contain sys em/bin/toolset
    • fixed ser has both update-script and update-binary in working folder, then update-binary will be renamed to update-binary.orig (and not included in update.zip)
    • Fixed issue in certain scenario where HTC Desire HD / Evo Shift 4G may select the wrong update-binary

    Version 0.139 (March 4, 2011):
    • More fixes to the mount names in an updater-script
    • More fixes to update-binary selection routine
    • If working folder contains updater-script but no update-binary, then update-binary will be added when ROM is built

    Version 0.138 (March 3, 2011):
    • Updated the 'update-binary' file (required for updater-script) to three different versions; the updater-script will select one based on the type of mount points used (Many thanks to _fm)
    • If the ROM's ZIP that is imported into the kitchen has an update-binary, then the Amend-to-Edify conversion script will select this file, rather than the kitchen's update-binary
    • Fixed issue where kitchen was attempting to add symlinks to a ROM's ZIP imported into the kitchen that already had symlinks in its update-script
    • Fixed issue where kitchen was accidentally deleting update-script entries starting with "delete SYSTEM:bin...." in ROM's ZIP that was imported into the kitchen
    • Added 'assert' statement around boot.img entry in updater-script
    • Fixed error where updater-script was unmounting invalid partition called '/userdata' instead of '/data'
    • Added more de-odex support for HTC Wildfire S (Marvel)

    Version 0.137 (March 1, 2011):
    • Added support for ROMs based on YAFFS filesystem that use more than 2048-byte chunk size, such as HTC Wildfire S
    • Fixed issue where non-Gingerbread shipped ROMs had entry in update-script for non-existent folder called /vendor/firmware
    • More updates to Amend/Edify conversion scripts

    Version 0.136 (March 1, 2011):
    • Added support for Desire HD and Evo Shift 4G mount names in updater-script; no more need for user to manually edit updater-script with '/dev/block/...'
    • When building ROM, will delete 'sh.exe.stackdump' if it exists in working folder
    • Fixed issue where tab characters in the updater-script were causing bad conversion to update-script
    • More minor fixes to Amend/Edify conversion scripts
    Compatibilità Device Android

    Questo programma è stato creato in origine per cucinare e modificare le rom dei vari Device HTC ma vari utenti hanno confermato la sua funzionalità anche per Device non HTC

    Lista Device HTC Supportati e Compatibili con Kitchen:
    • HTC Aria / Liberty
    • HTC Desire
    • HTC Desire HD / Inspire 4G
    • HTC Desire S
    • HTC Desire Z / Vision / T-Mobile G2
    • HTC Dream / G1
    • HTC Droid Eris
    • HTC Evo 3D
    • HTC Evo 4G
    • HTC Evo Shift 4G
    • HTC Evo View 4G (untested)
    • HTC Evo Shift 4G
    • HTC Flyer (untested)
    • HTC HD2 - using NAND ROM (see here for details)
    • HTC Hero / G2 Touch
    • HTC Incredible
    • HTC Incredible 2
    • HTC Incredible S
    • HTC Legend
    • HTC Magic / myTouch 3G
    • HTC myTouch 3G Slide
    • HTC myTouch 4G / Glacier
    • HTC Nexus One
    • HTC Rezound
    • HTC Sensation
    • HTC Tattoo / Click
    • HTC Thunderbolt
    • HTC Wildfire / Buzz)
    • HTC Wildfire S (untested)

    Lista Device non HTC Supportati da Kitchen:
    • Acer Liquid
    • Dell Streak 7
    • Huawei Ideos X6 ---> Seguire questo thread per maggiori informazioni
    • Huawei U8100/U8110/U8120/U8150/U8160/U8180
    • Huawei U8220 / T-Mobile Pulse
    • LG Ally
    • LG GT540 Optimus
    • LG Optimus 2X (P990)
    • LG Optimus G2X (P999)
    • LG Optimus Black (unconfirmed)
    • LG P500 ----> Seguire questo thread per maggiori informazioni
    • LG Shine Plus
    • LG Vortex
    • Micromax A60
    • Motorola Atrix (unconfirmed)
    • Motorola CLIQ / CLIQ XT
    • Motorola Droid
    • Motorola Droid Bionic ----> Seguire questo thread per maggiori informazioni
    • Motorola Milestone (unconfirmed) - Rimuovere necessariamente il boot.img
    • Samsung Galaxy Nexus
    • Samsung Galaxy S - (GT-I9000 and most variants) ----> Seguire questo thread per maggiori informazioni
    • Samsung Galaxy S Plus (GT-I9001) ----> Seguire questo thread per maggiori informazioni
    • Samsung Galaxy S2 (GT-I9100 and Exynos CPU variants) ----> Seguire questo thread per maggiori informazioni
    • Samsung Galaxy S2 LTE (AT&T Skyrocket, T-Mobile SGH-T989 and equivalent) ----> Seguire questo thread per maggiori informazioni
    • Samsung Nexus S / Nexus S 4G
    • Sony Xperia X10 / X10 Mini / X10 Mini Pro
    - Build ROM senza boot.img ----> Seguire questo thread per maggiori informazioni
    • ZTE Blade / Orange San Francisco
    • Altri


    Per farlo funzionare su piattaforma Windows essendo come detto prima creato per Linux avremo bisogno di scaricare e installare 2 Programmi:

    - Java JDK
    - Cygwin

    Installazione Preliminare A + B

    A. Java JDK

    1. Scaricare l'ultima versione di JDk (Java SE Development Kit) direttamente dal sito del produttore in base al proprio sistema operativo da questo Link -----> Qui.

    2. Installare il programma appena scaricato (JDK).

    B. Cygwin

    1. Scaricare questa versione specifica di Cygwin da questo Link -----> cygwin_packages.zip

    2. Installare questo programma seguendo le indicazioni descritte nella guida presente nel file zip o seguendo la procedura qui sotto elencata per punti.

    Guida all'installazione di Cygwin:
    ° Scompattare il file zip scaricato in qualsiasi cartella nel PC.
    ° Lanciare il file Setup.exe per far partire l'installazione.
    ° Avanti e scegliere "Install from Local Directory"
    ° Avanti e scegliete la directory dove volete installare questo programma. Consigliato impostare se già non lo fosse la directory C:\cygwin.
    ° Scegliete Install for All User (Raccomandato)
    ° Avanti e ora dovrete indicare al programma d'installazione la directory dove in precedenza avete scompattato il file cygwin_packages.zip. In questo modo potrà caricare tutte le librerie utili per far funzionare il programma.
    ° Vedrete caricarsi la barra verde e alla fine uscirà una nuova finestra. (Select Packages)
    ° Dovrete a questo punto cliccare sul primo Default quello accanto a ALL cosi cambierà in Install tutte le librerie elencate con il + da Accessibility a X11. Ora cliccare in basso a sinistra su Avanti.
    ° Vedrete avanzare l'installazione.
    ° Attendete la fine dell'installazione.
    Finita l'installazione in C:\ avrete installato cygwin. (C:\cygwin)

    La parte preliminare ora è conclusa.

    C. HTC Android Kitchen 0.1xx

    Guida all'Installazione del Programma dsixda's HTC Android Kitchen

    Link DOWNLOAD del Programma KITCHEN -----> Qui. (Cliccare direttamente su Download.zip)

    Guida Installazione Kitchen
    1. Scaricare ovviamente il programma dal link riportato qui sopra.
    2. Scompattate il file .zip appena scaricato.
    3. Copiare tutte le 3 cartelle (original_update/scripts/tools) e i 2 files (menu/README) presenti nello Zip.
    4. Incollare queste cartelle e files dentro la directory in c:\cygwin\home\vostronome\QUI

    Ovviamente la cartella "vostronome" è diversa ed è in base al nome scelto durante l'installazione di Windows. Comunque dentro la Directory "home" troverete solo una cartella quindi è difficile sbagliarsi.A questo punto avete terminato l'installazione e siete pronti ad utilizzare questo programma.


    Guida all'utilizzo di Kitchen tramite Cygwin

    Cosè Cygwin: Piccola spiegazione.

    Come detto in precedenza questo programma (Kitchen) è stato creato per essere utilizzato su sistemi operativi Linux quindi per funzionare con Windows (7, Vista, Xp, 2000) ha bisogno di un ambiente che simuli appunto Linux e qui entra in gioco Cygwin che è una collezione di strumenti che forniscono un look e un feel ambiente Linux per Windows. In altre parole, Cygwin permette di sfruttare, anche su una macchina Windows, la potenza e la flessibilità di una shell *NIX Like. All’interno della shell emulata è possibile utilizzare molti dei software tipici del mondo Linux, tra cui il compilatore GCC. Il vantaggio di utilizzare un ambiente emulato invece di uno “nativo†consiste nel non dover installare sulla propria macchina un nuovo sistema operativo, con tutte le problematiche che questa operazione solitamente comporta. Il fatto che si tratti di un ambiente emulato ha chiaramente delle ripercussioni a livello di performance. Sostanzialmente, questo può utilizzare soltanto una piccola percentuale delle risorse (memoria, spazio su disco, ecc…) presenti sulla macchina in uso, dato che la maggior parte di esse è occupata dal sistema operativo “principaleâ€.
    Se siete interessati a questo programma inserisco il link diretto al sito -----> Cygwin


    Guida alla partenza di Kitchen

    Per lanciare e far funzionare questo programma dovremo prima lanciare un altro programma CYGWIN quindi:
    1. Tramite Esplora di risorse di Windows andare in c:\cygwin\
    2. Cliccare due volte il file Cygwin.bat facendo partire il programma.
    3. A questo punto vi si aprirà una finestra shell dove avrete
    "vostronome@vostronome - PC
    $
    4. digitare il comando "ls" dentro questra finestra cosi facendo vi mostrerà tutte le cartelle e i files presenti nella directory tra cui dovreste vedere anche la directory "home".
    5. Ora date il comando "cd home" cosi entrerete in questa directory.
    6. Digitando il comando "ls" vi mostrerà il nome della directory in cui abbiamo in precedenza copiato i files e le cartelle del programma Kitchen.
    7. Digitare il comando "cd nomevostracartella". Cosi entrerete nella cartella che ci interessa a noi.
    8. Se digitate di nuovo il comando "ls" vi mostrerà altre cartelle e altri files tra cui quello che interessa a noi e cioè il file "menu" che farà partire finalmente il programma.
    9. A questo punto per far partire il programma Kitchen dovremo digitare il seguente comando "./menu". Se vi riporta il seguente errore: 'permission denied' allora dovrete digitare il seguente comando "chmod +x menu" solo per questa volta e quindi riprovate a ridare il comando "./menu".
    10. Ora vedrete partire il programma Kitchen HTC Android e subito dopo un menù con i vari comandi.
    11. Finalmente ora potrete divertirvi nel cucinare le vostre custom rom.

    Attenzione:
    ° I comandi sopra elencati (ls - cd - ./) vanno digitati nella shell Unix senza le virgolette.
    ° Rispettare le maiuscole.Guida all'Utilizzo di Kitchen

    In questa guida vedremo i vari comandi presenti in questo programma.

    1. Set up working folder from ROM (Creazione della directory di Lavoro della ROM).
    Questo primo comando è molto importante in quanto ci darà modo di creare una cartella WORKING dove troveremo all'interno, dopo averla creata, la nostra custom rom scompattata nelle sue varie cartelle e files quindi ci darà la possibilità di lavorare e fare le varie modifiche. Per creare questa cartella di lavoro ci sono 2 vie. Si può usare o una qualsiasi custom rom in formato Zip o i 2 files system.img e boot.img creati attraverso un nostro backUp effettuato tramite Recovery (nandroid backUp).

    A. Cartella Lavoro creata con file .ZIP
    ° Copiare con Esplora Risorse il file .zip della custom rom che si vuole modificare dentro la directory C:\cygwin\home\nomevostracartella\original_update\ QUI.
    ° Digitare dentro il programma Kitchen il comando 1 e premere Enter. Vedrete dentro la shell le varie fasi. Attendete la fine.
    ° Ora usando Esplora Risorse di Windows vi troverete nel seguente percorso C:\cygwin\home\nomevostracartella\WORKING_123456_7890 questa nuova cartella e all'interno di essa il file zip scelto ma scompattato in cartelle e files.

    B. Cartella Lavoro creata con i 2 nostri files System.img + Boot.img
    ° Stesso identico procedimento riportato sopra ovviamente copiando questi nostri due files nella cartella \original_update. Il procedimento è un pò più lungo e non vi preoccupate se va lento aspettate il termine.
    2. Add Root Permissions (Aggiungere i permessi di Root)
    Questo 2 comando ci da la possibilità di aggiungere i permessi Root per una nostra custom rom. Il comando va a modificare la custom rom scompattata nella directory WORKING che abbiamo precedentemente creato. Abbastanza facile da utilizzare:

    ° Digitare 2 affianco a Enter Option premendo Enter-Invio vi apparirà una nuova schermata dove vi dirà se avete già questa opzione installata e sevolete aggiornarla. Questo comando andrà a modificare il file update-script e il file default.prop nel vostro Ramdisk
    3. Add BusyBox (Aggiungere BusyBox).
    Questo 3 comando vi farà aggiungere nella vostra custom rom il programma BusyBox necessario per far funzionare altri programmi come Titanium BackUp. Molto facile da utilizzare.

    ° Digitare come sempre affianco a Enter Option il 3 e premere Enter-Invio e di seguito y per confermare. Fatto.
    4. Disable boot screen sounds (Disabilitare il suono all'accenzione del Terminale).
    Questo comando vi eliminerà il suono all'accenzione del Terminale.

    ° Digitare il numero 4 affianco a Enter Option e premere Enter-Invio e confermare con y.
    5. Add wireless tethering (Aggiunge il Tethering wireless) per Terminali con sistemi Android inferiori a Froyo 2.2.
    Questo comando vi installerà il tethering Wireless sul vostro Terminale se avete un sistema Android inferiore a Froyo 2.2. Difatti da Froyo 2.2 in poi questo comando è stato aggiunto da Google di base quindi non necessità l'installazione. Consigliato a chi possiede Terminali con sistema Android 2.1 in giù.

    ° Digitare il comando 5 premere Enter-Invio e alla richiesta confermare con y.
    6. Zipalign all *.apk files to optimize RAM usage (Zipalign tutti i files *.apk per ottimizzare l'uso della RAM)
    Questo 6 comando è un tipo di compressione che serve per velocizzare l'esecuzione delle applicazioni. Zipalign scompatta il file apk quindi comprime e allinea il file a 4byte di limite, cosi' android occupa meno ram per leggerlo e lo legge piu' velocemente e poi ricrea il file .apk.

    ° Digitare il comando 6 date Enter-Invio e alla richiesta confermare con y. Attendete la fine della compressione dei vari file apk che avete nella vostra custom rom.
    7. Change wipe status of ROM (Cambia lo stato dei wipe durante l'installazione della custom rom).
    Durante l'installazione di una custom rom tramite la Recovery potete far partire in automatico i vari wipe senza il bisogno di farli prima dell'installazione.

    ° Digitare il comando 7 e premere il solito Enter-Invio e se non già presente il wipe automatico confermare con y.
    8. Change name of ROM (Cambiare nome alla Rom).
    Questo comando vi darà la possibilità di cambiare il nome della vostra custom rom personalizzandola a vostro piacere. Utile nel caso di un Porting.

    ° Digitate il comando 8 date Enter-Invio e vi apparirà il nome della rom e vi chiederà se cambiarlo. Digitate y e inserite il nuovo nome della Rom che vi piace di più e date Enter. Cambierà in automatico nel build.prop il nome da voi scelto nella riga dell' ID.
    9. Check update-script for errors (Chek dell'update-script per eventuali errori).
    Questo comando farà una Diagnosi del file presente nel seguente percorso META-INF/com/goole/android/update-script fornendovi eventuali e potenziali problemi presenti durante l'installazione. Attenzione che potrebbe dare falsi allarmi. La verifica potrebbe durare un bel pò in base alla grandezza del vostro file update-script.

    ° Digitare il comando 9 date Enter-Invio e confermare con y.
    10. Show working folder information (Mostra informazioni relative alla cartella WORKING).
    Questo comando di mostrerà solo le informazioni principali della vostra custom rom presente nella cartella WORKING come il sistema usato, il nome della rom e i vari script presenti (root, busybox e altro).

    ° Digitate il comando 10 date Enter-Invio e confermate con y, attendete qualche secondo e gurdate il risultato.
    [spoiler:392578pz]Questo comando vi cambiare la schermata di questo Programma (Kitchen) visualizzando altri comandi che andremo a vedere qui sotto.

    ° Digitate 0 e confermate con Enter e saremo entrati nella seconda schermata di questo porgramma. Ridigitando sempre 0 ed Enter ritorneremo nella prima schermata.
    11. Deodex files in your ROM (Deodex files nella nostra ROM).
    Questo comando da la possibilità di trasformare i vari file apk odexes a Deodex facilitando sopratutto la modifica grafica del services.jar permettendo cosi la possibilità di avere icone diverse e a colori.

    ° Digitate il comando 11 date Enter-Invio e vedete se dovete fare questa trasformazione, se già stata fatta in precedenza il comando vi dirà che non ci sono presenti files *.odex e quindi non necessita del Deodex.
    12. Add task killer tweak for speed (stock ROM only) (Aggiunge il tweak task Killer per la velocità).
    Questo comando è indicato a chi lavora su rom originali aggiungendo il tweak per aumentare la velocità.

    ° Digitare il comando 12 date Enter-Invio e di seguito ad ogni riga date il comando Enter per confermare i valori dati ed infine y e attendete la fine della procedura.
    13. Add /data/app functionality (Aggiunge la funzione /data/app).
    Questo comando vi da la possibilità di poter spostare le vostre applicazioni della directory data/ app per poi farle riconoscere dal sistema come applicazioni del meù.

    ° Digitate il comando 13 date Enter-Invio seguito dalla conferma con y, vi crea cosi la directory data/app e vi cambiera il file update-script.
    14. Add Nano text editor + sysro/sysrw (Aggiunge Nano text editor + sysro/sysrw).
    Questo comando aggiunge la funzione Nano text editor + sysro/sysrw

    ° Digitare il comando 14 date Enter-Invio seguito dalla conferma con y.
    15. Add Bash (command shell) (Aggiunge Bash -Comando shell)
    Questo comando aggiunge la shell di comando bash che è utile per il completamento della linea di comando quando si utilizza un emulatore di terminale sul proprio dispositivo Android. Per avviarlo da una shell, digitare: bash

    ° Digitate il comando 15 date Enter-Invio seguito dalla conferma con y.
    Questo comando aggiunge la funzione che permetterà di installare tutte le tue applicazioni sulla scheda SD per risparmiare spazio di archiviazione sul dispositivo. Il programma Kitchen utilizza il metodo Darktremor apps2sd.

    ° Digitare il comando 16 date Enter-Invio seguito da y per la conferma.
    17. Add /etc/init.d scripts support (busybox run-parts) (Aggiunge il supporto per lo script /etc/init.d - busybox run-parts)
    Questo comando busybox run-parts consente al dispositivo di eseguire gli script dalla cartella sistema/etc/ init.d durante un riavvio.
    Normalmente gli script iniziare con un numero per indicare l'ordine in cui verranno eseguiti.

    ° Digitare il comando 17 date Enter-Invio seguito da y per la conferma.
    18. Add custom boot animation functionality (Aggiunge la funzione della Boot Animation personalizzata).
    Questo comando permette di utilizzare una animazione di avvio personalizzata al posto di quella predefinita.
    Dopo l'attivazione di questa opzione, l'animazione di avvio personalizzata sarà copiata sotto la cartella data/local/ come bootanimation.zip

    ° Digitare il comando 18 date Enter-Invio seguito dalla conferma con y.
    19. Porting tools (experimental) (Creazione di un Porting - "Sperimentale")
    Questo comando vi da la possibilità di Creare (Tentare) un Porting da una custom rom di un altro device. Nella scelta di questo comando cè anche la possibilità di estrarre il Kernel e i moduli sempre di un altro device/ROM. Se scegliete l'opzione a e avete già una cartella WORKING vi chiederà se volete salvarla in una sottocartella OLD_WORKING (Consigliato confermare con y), così vi farà spostare la vostra cartella di lavoro sotto OLD_WORKING e ve ne aprirà una nuova per tentare il Porting.

    ° Digitare il comando 19 date Enter-Invio e poi si dovrà scegliere se tentare il porting di una rom (a) o estrarre il suo kernel con il suo Hardware principale (e) (usb-cpu-sensore ecc).
    - a --> Porting Rom from another device.
    - e --> Extract Kernel or Modules from other Rom.
    20. Tools for boot image (unpack/re-pack/etc.) (Spacchettamento e Rimpacchettamento dell'immaggine di boot "boot.img").
    Quanti di voi hanno provato senza riuscire ad aprire il file in questione? Ora con questo comando lo possiamo fare molto facilmente. Funzione importante per i vari Dev. che potranno modificare a piacimento il file in questione e ricostruirlo altrettanto facilmente. Il boot.img da scompattare può essere preso sia dalla cartella WORKING se già esistente o preso da un qualsiasi altro posto ma bisognerà spostarlo con esplora risorse nella cartella temporanea che crea in quel momento questo comando. Più difficile da spiegare che da effettuare.

    ° Digitare il comando 20 date Enter-Invio e poi scegliere una opzione in video.
    21. Unpack data.img (Spacchettare il file data.img)
    Questo comando vi da la possibilità di scompattare in più cartelle il file data.img. Questo file di solito si recupera attraverso un proprio nandroid Backup. Quindi si deve effettuare prima il nandroid backup e poi copiarlo sul proprio PC.

    ° Digitate il comando 21 seguito dalla conferma con y. Ora il programma vi crea una cartella temporanea in C:\cygwin\home\vostronome\data_324332_1321321\ QUI, e dovrete spostare il file data.img con esplora risorse in quel percorso indicato. Una volta spostato questo file premere Enter per la conferma e attendete la fine. Vi ritroverete il file spacchettato in più file.
    22. Sign APK or ZIP file(s) (Signare file(s) APK).
    Questo comando Signa tutti i file APK presenti nella cartella WORKING precedentemente creata.

    ° Digitate il comando 22 date Enter-Invio seguito dalla conferma con y e attendete la fine.
    23. Convert update-script or updater-script (Convertire il file update-script in updater-script e viceversa).
    Questo comando vi consentirà di convertire il file update-script in updater-script e viceversa.

    ° Digitare il comando 23 date Enter-Invio e di seguito scegliere l'opzione che interessa.
    - 1 ---> Convert updater-script to update-script
    - 2 ---> Convert update-script to updater-script
    - 3 ---> Exit.
    24. Run plugin scripts (Avviare il plugin scripts)
    Questo comando

    ° Digitare il comando 24 date Enter-Invio e scegliere una delle seguenti opzioni:
    - 1 ---> ReadMe
    - 2 ---> Sample
    99. Build ROM from working folder (Costruire ROM dalla cartella Lavoro).
    Dopo tanto lavoro e sudore ... ihih e dopo che avrete effettuato le votre modifiche alla vostra cartella WORKING, questo comando vi darà la possibilità di creare e finalizzare la vostra custom ROM personale in formato .ZIP da flashare attraverso la vostra Recovery Modificata. Una volta creata la vostra custom ROM la potrete trovare nella cartella C:\cygwin\hom\vostronome\OUTPUT_ZIP\QUI.ZIP.

    Enter option: _ -----> Inserire il comando scelto Qui e poi premere Enter-Invio del proprio PC per confermare la scelta.



    Buon Divertimento a Tutti.......... ;) ihih




    Link per la Discussione Ufficiale -----> Qui

    All CREDITS al Dev. dsixda
     
    Ultima modifica: 2 Apr 2013
    A frrndr75 e aaasss10 piace questo messaggio.
  2. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom Liquid in Italiano - In costruzione....

    E vai..... grande... bellissima... ora ci mettiamo tutti a gioccare sul serio xD. Penso che questo post ci possa portare molto a tutti, eul conoscere meglio questo nostro androide...

    Grazie, grazie grazie... a dopo.
     
  3. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom Liquid in Italiano - In costruzione....


    Grazie a te..... la devo ancora terminare spiegando le altre opzioni presenti e devo finire di tradurre in italiano il programma. Comunque per chi vuole incominciare può già farlo le varie parti dell'installazione sono spiegate.

    Tradotti in italiano i due Menù del programma. Ora vedo anche di tradurre i vari passaggi dei vari script ma ci vorrà un po di tempo.

    Ciao.
     
  4. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154

    Ciao, Lucky.... ecomi qua.... come promesso ti voglio rompere un pò :eheh:
    allora... fin'ora tutto OK, nel senso che ho messo JDK, cigwin, e la cucina nella giusta cartella.

    sto provando ad accendere i fuochi, ma ho un piccolo problema... in pratica arrivo al punto del comando:
    Codice:
    ./menu
    ma mi escono una serie di messaggi di errore, che penso stiano a significare che non ho tutti componenti necessari per eseguire le varie funzioni della cucinona xD... ti allego un immagine con tutta la serie di messagi di errori, ai quali dico "y" per proseguire, seno esce dal avvio della cucina, e non si accende il fuoco grande ;)

    [​IMG]

    Alla fine della serie di errori appare il menu che citi nella guida. quindi forse qualcosa funziona... oggi mi fermo qui, che tra un oretta stacco, e come al solito, a casa non accendo il PC, quindi andrei avanti domani mattina.
    comunque ci ho bestemiato non poco stamattina, che ho un portatile in condizioni vergognose.... missa che dovvrei rasare il disco e reinstallarmi il SO da capo, che tra lentezze, e continue necessità di fare pulitura disco e deframmentazioni... ci ho messo la mattinata :pazzo: .

    fin qui la guida è precisissima comunque. inserirei i comandi da digitare nello strumento code del editor, per chiarezza, ma va bene pure cosi. ha, un altra sciochezza, quando ho eseguito la procedura guidata di installazione del JDK, non bisogna dare l'autorizzazione alla procedura di aggiornamento automatico... se no si blocca al 77% del installazione, perchè non trova l'host dedicato a quella funzione (che non ho inserito).

    a dopo.
     
  5. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154

    Ciao Yann scusa se ti rispondo solo ora comunque......


    Io uso Windows 7 64 bit.

    Hai messo le cartelle i files del programma Kitchen nella directory giusta???


    C:\cygwin\home\Yann\ <-------- devi copiare qui tutte le 3 cartelle (original_update + script+ tools) e tutte e 2 i files (menu + readme)


    Infatti il primo errore che viene fuori è come se non trovasse la cartella C:\cygwin\home\Yann\scripts\check-binaries dove cè appunto quel file.


    Hai avuto problemi nell'installare cygwin???

    Comunque se ti è partito qualcosa hai fatto ma non tutto bene....
     
  6. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154

    buongiorno... e rieccomi al attaco....
    ho messo tutto al posto giusto ... ci sta tutto nella giusta directory. e al interno della cartella scripts, ci stanno tutti file che dice non trovare xD.... mistero.
    no, non ho incontratto problemi nel installare cigwin, è andato tutto liscissimo.... comunque ti posto uno screen della cartella C:/cygwin/home/Yann/

    [​IMG]

    unica perplessita, che mi sorge, sono i file con nome in blu ??? che vedi sullo screen.

    a dopo, intanto faccio qualche prova per capire se funziona qualcosa ....
     
  7. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154

    altra nota di piccola differenza, nel caso mio...
    avvio il file bach di cygwin, dando il comando ls, mi appare il contenuto della directory C:/cygwin/home/Yann/
    e mi indica solo le e cartelle (original_update, script e tools) e i due file (menu e README).... non i file con scitta in blu che vedi sullo screen del post soppra ???
     
  8. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154


    Neanche a me con il comando ls mi da i files con scritta blu anche se sono presenti in quella cartella, il perchè non lo so comunuque mi funziona bene anzi benissimo il programma.

    Penso che non hai installato bene cygwin........ Prova a reinstallarlo

    Cito dal link di discussione ufficiale.


    Codice:
    QUESTION: In Cygwin whenever I type ./menu it says the 'clear' command is not found.
    
    That's because you did not follow the instructions properly for installing Cygwin. Make sure you did not skip a step in the text file that is included in the Cygwin package that you downloaded from the FAQ.
     
  9. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.154

    Mmmmmh, domani riprendo da cygwin.... che comunque ho anche il portatile incasinato.... non vorrei che mi abbia installato male proprio quello.
     
  10. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.155

    Aggiornato il programma che passa alla versione 0.155 con il seguente changelog:

    Version 0.155 (April 20, 2011):

    • Fixed issue where script was incorrectly parsing the boot.img command line and kernel base address in leaked ROMs containing 911sniper's folder format
    • Added option in boot.img unpacking/re-packing script to show contents of boot.img (command line, page size and kernel base address)
    • Added 'Extreme mode' in build options, which bypasses zipalign, Edify conversion and signing of ROM
    • Fixed issue where 'fake' boot.img was being included in ROMs where boot.img was not supposed to be included
     
  11. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.156

    Altro aggiornamento di Kitchen che passa alla versione 0.156 con questo changelog:

    Version 0.156 (April 21, 2011):

    • When running update-script verification tool, an option will be given to automatically resolve symlink issues

    Qualcuno ha provato questo programma???
     
  12. yann73

    yann73 Golden Droid

    Iscritto:
    5 Feb 2010
    Messaggi:
    7.157
    "Mi Piace":
    1.176
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.156

    spero di potere rifare tutto da capo domani mattina.... questa mattina mi hanno incastrato al lavoro, per fare il corso di rianimazione con defibrilatore al poisto di un collega che era assente xD... quindi va beh... mi beccherò l'attestato io :eheh: ... solo che non ho potuto fare nulla... e stavo proprio al punto di iniziare... che rosicchiata.
     
  13. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.156



    Capita..... ihih

    Ci sentiamo domani allora ;)
     
  14. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.157

    Nuovo aggiornamento di questo programma che passa alla versione 0.157 con queste aggiunte

    Changelog:

    Version 0.157 (April 22, 2011):

    • Added option to use custom ROM name in Interactive build mode
    • Added check for presence of multiple working folders
    • Added check for missing /system folder for all menu options
     
  15. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.158

    Nuovo aggiornamento che passa allaversione 0.158 con questo changelog:

    Version 0.158 (April 24, 2011):

    • Added support for Desire S
    • Changed order of operations when building ROM (e.g. in Interactive Mode it asked to sign ROM but didn't actually sign it until after it renamed the ROM)
    • Simplified the 'Show working folder' option so that it doesn't waste time unpacking boot.img when update-script or build.prop is missing
     
  16. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Rom in Italiano con Kitchen 0.160

    Nuovo aggiornamento che passa alla versione 0.160 con questo changelog:


    Version 0.160 (May 4, 2011):

    •Added option under Advanced menu to sign ZIP files
    •Updated wireless tether app to 2.0.7 (from 2.0.2)
    •Added progress indicator when converting symlink statements in Amend/Edify conversion scripts
    •Added progress indicator when creating symlinks after unpacking system.img
    •Added progress indicator when gathering infomation for 'show working folder' option
    •When porting a ROM, script will no longer waste time creating symbolic links for first ROM if it is a ZIP file containing system.img (only the kernel and modules are required)
    •When creating working folder, don't copy ZIP file to the new working folder before unzipping it; instead unzip it straight from original_update and into the working folder (saves some time)
    •Fixed issue where a syntax error would result when porting a ROM but user had cancelled selecting the first ROM
    •Added new folder tools/edify_defs containing a set of device-based files, to make it easier to add definitions for devices with special mount points in updater-script
    •Fixed issue in 'show working folder' script, where BOOT-EXTRACTED was not removed if default.prop not found
     
  17. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Custom Rom in Italiano con Kitchen 0.161

    Nuovo aggiornamento del programma che passa alla versione 0.161 con questo changelog:

    Version 0.161 (May 8, 2011):

    [spoiler:25zib22d]• Fixed issue where Amend/Edify conversion scripts were not accounting for new filesystem types in CyanogenMod nightlies
    • Added option to sign APKs from a non-Working folder
    • Added Batch De-odexer plugin
    • Fixed error when backing up working folders, where only one working folder is shown in display even though more than one are present
    • Fixed issue where update-script should have been converted to updater-script in a specific case
    • Added progress indicator when loading plugins
    • Added progress indicator before showing boot.img info
    • Modified mount points for a couple of devices in edify_defs folder
    • Added more help text in some places, to prevent the same questions being asked over and over ;-)[/spoiler:25zib22d]
     
  18. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Custom Rom Android con Kitchen 0.163

    Nuovi aggiornamenti del programma che passa alla versione 0.163 passando per la 0.162.....

    Questo il changelog doppio:

    [spoiler:1nq4bxl8]•Version 0.163 (May 20, 2011):

    Added support for Nexus S 4G
    •Fixed issue when porting, caused by version 0.161, where mount points in ported ROM's updater-script may be blank
    •Fixed issue when porting, where ported ROM's updater-script may contain wrong mount point names
    •Display appropriate error messages in Linux if unable to extract files from EXT3/EXT4-based system.img

    Version 0.162 (May 17, 2011):
    •When using option to sign ZIPs/APKs from a folder, don't sign file if name contains spaces (not fully supported by operating system)
    •If user's OS is missing specific binaries required for the kitchen, then don't prompt to continue, but instead quit - to prevent unexpected behaviour to ROM and computer
    •When extracting files from stock ROM, don't remove install-recovery.sh or recovery-from-boot.p, but instead rename them
    •Added more help text to porting option, to prevent confusion and repetitive questions[/spoiler:1nq4bxl8]
     
  19. lucky76

    lucky76 Bronze Droid

    Iscritto:
    8 Set 2010
    Messaggi:
    780
    "Mi Piace":
    236
    Re: [GUIDA] Cucinare Custom Rom Android con Kitchen 0.166

    Nuovi aggiornamenti fatti in questo periodo che portano il programma alla versione 0.166.

    Per il changelog vedere nel primo post. Aggiunto anche sul sito originale il Liquid come modello non HTC supportato da questo programma...... +1
     
  20. linus98

    linus98 Baby Droid

    Iscritto:
    5 Gen 2011
    Messaggi:
    26
    "Mi Piace":
    11
    Re: [GUIDA] Cucinare Custom Rom Android con Kitchen 0.172

    Ciao Lucky, dopo tanto girovagare, e dopo essere impazzito a leggere xda (l'inglese non è il mio punto di forza), finalmente trovo una guida alla cucina in italiano. :sbav: :sbav:
    Avrei una domanda. Stavo dando un'occhiata ai vari programmi utili per iniziare a cucinare mentre mi trovavo in ufficio (Windows7-64bit), Ho seguito la guida per l'installazione ed è andato tutto a buon fine, ma non avendo molto tempo, ho preferito non accendere i fornelli.
    Ho messo tutto in una USB, arrivo a casa (Windows7-32bit) e non riesco neanche ad estrarre lo zip cygwin_packages. Tu o qualche altra anima pia del forum potete aiutarmi??

    Questi gli errori che ricevo quando provò ad estrarre i files:

    ! C:\Users\preload\Downloads\cygwin_packages.zip: Impossibile creare kitchen_readme.txt
    ! Accesso negato.
    ! C:\Users\preload\Downloads\cygwin_packages.zip: Impossibile creare setup.exe
    ! Accesso negato.


    Grazie