I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites:
1. XUltimate or any other similar tool which can pull all the Apk's and Framework's from the phone.
2. Rom Kitchen (Link On OP)
3. Zip utilities.
4. Deodex Empty Shell zip. (Deodex_Cwm_Shell .zip - 236 KB)
5. Windows (Cygwin) or Linux ( I won't go into technicalities)
How:
1. Pull all the Apk's and Framwork's along with the .odex files.
2. Rename the folder with the Apk's as "app"
3. Rename the folder with the Framework's as "framework"
4. Create a folder called Deodex_Cwm. (You can choose your name).
5. Inside the Deodex_Cwm folder, create another folder called system.
6. Copy the app and framework folder with the apk's and framework's into system.
7. In the case of ION, I found that there is a file "playstationcertified.odex", rename it to "com.playstation.playstationcertified.odex".
7. Zip the Deodex_Cwm folder.
8. Copy this zip into "original_update" folder inside Rom_Kitchen folder.
9. Run the menu script.
10. From menu select "0 - ADVANCED OPTIONS", then select "24 - Miscellaneous options / Plugin scripts".
11. Now select "(4) Batch_Deodex"
12. Press Enter to continue.
13. Press Enter Again to continue.
14. Press Enter Again to continue.
15. Press Enter Again to continue.
16. Now the Deodexing process will start. It will show a message when the process ends.
17. Rom_Kitchen creates a WORKING_mmddyy_hhmmss folder for processing the files.
18. Once the processing is done, the files are moved to batch_mmddyy_hhmmss.
19. Open the Deodex Empty Shell zip (do not extract). drag and drop the app and framework folders from the batch_mmddyy_hhmmss into the system folder inside the opened zip.
20. You also change the Text inside the updater script in the folder "META-INF/com/google/android" inside the open zip. Use notepad++ under windows, under linux you can use any editor.
21. Now close the zip and copy it to the external sd card in the phone and flash it using CWM Recovery.
Click to expand...
Click to collapse
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
Click to expand...
Click to collapse
Post your question under Ion dev. deodex thread.
Sent from my Ion* using Tapatalk 2
waqasazfar said:
I found details here
http://forum.xda-developers.com/showpost.php?p=30946303
But many many things are unanswered
Requisites No 5. Windows (Cygwin) or Linux ( I won't go into technicalities) , and then is is use of this Windows (Cygwin) ? i cant find anything with it in above 21 options. what is this , this thing is listed in Requisite and then there is no use of it? even Cygwin name is not used any where after Requisites No 5.
Rom Kitchen Requires Linux. So either use Linux as OS or install Cygwin under Windows. How to use Linux/Cygwin is beyond the scope of the tutorial.
in how to. 9. Run the menu script.
What is Menu script ? there is no menu script in Rom_Kitchen folder, it is just a file with name menu ( without extension)
to run menu, type the following in command prompt.
chmod +x menu (required only once to make menu executable script)
./menu
Writer give link to downloads on page http://forum.xda-developers.com/showthread.php?t=1863052
i download file for my xperia ion, but now what ? what is use of it on Above 21 how to options?
It is for you to download Cygwin
Click to expand...
Click to collapse
Answers under your question.
Thankyou
ganeshbiyer said:
Answers under your question.
Click to expand...
Click to collapse
Thankyou.
Related
I. Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.(first see the post creating an custom rom for android a)
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, later versions might support others (check here for an update when it does).
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
HTC Hero
Google Nexus One (android.modaco.com/topic/300414-21oct-stock-roms-erd79- frg83-images-zip-online-kitchen-optional-root-insecure/)
" copy paste on browser than download it "
HTC Magic
HTC Tattoo
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from "w_w_w_.7-zip.org/ "_" from link) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak FeWant to Flash a New Splash Screen on Your 320×480 Resolution Android Device? Here’s how.
el free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!
ohh... thanks
Very nice information.................
zero+ said:
I. Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.(first see the post creating an custom rom for android a)
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, later versions might support others (check here for an update when it does).
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
HTC Hero
Google Nexus One (android.modaco.com/topic/300414-21oct-stock-roms-erd79- frg83-images-zip-online-kitchen-optional-root-insecure/)
" copy paste on browser than download it "
HTC Magic
HTC Tattoo
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from "w_w_w_.7-zip.org/ "_" from link) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak FeWant to Flash a New Splash Screen on Your 320×480 Resolution Android Device? Here’s how.
el free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!
Click to expand...
Click to collapse
thanks for the info..hope for othr mobs also it will com soon
Tell me when it works for SGY
Inform me when it starts working for SGY... PLz I want to make one..
Looking good if work on sgy hehe looking forward for info
This tutorial is written for those interested in modifying the framework-res.apk to enable/disable CRT-Off effect on ICS (Samsung) ROMs using Windows 7. I'm sure it doesn't vary that much with other operating systems. I have used many tutorials from XDA (sources below) - but I will compile everything into one easy guide. Hope this helps! Otherwise, you can get the CWM flashable ones here.
What you need
- APKTool: apktool.jar, aapt.exe, apktool.bat, apktool1.4.3.tar.bz2
- APK Multi-Tool
- XML Editor: Notepad++ or Windows Notepad
- WinRAR or 7-zip
Update: You can also use this modified ApkTool. - thanks sileshnair.
Instructions
I will be splitting this tutorial into several steps to break down the processes (and possibly provide easier troubleshooting help).
Setting up the Files You Need
1. Download all the files needed above.
2. Install necessary programs (winRAR, 7-zip, Notepad++, APK Multi-Tool, etc.)
APK Multi Tool should ask you to choose a default folder. Just make sure you know where it is.3. Create a folder where you can access. (for me: My Documents/Flash/APKTool)
4. Place: apktool.jar, aapt.exe, apktool.bat, and apktool1.4.3.tar.bz2 into that folder.
Decompile
1. Obtain framework-res.apk from your phone. This can be done using Root Explorer and going to: system/framework/
2. Place framework-res.apk into the folder where you placed apktool.jar (and the rest of them).
3. Exit the folder (so that you are looking at it as "APKTool"). Hold-shift and right-click the folder (APKTools), and select "open command window here.
4. A command prompt should pop up. Type the following:
apktool if framework-res.apkapktool d frameowrk-res.apk
This should decompile the framework, allow it to run and close after it completes.
Editing CRT-Off Effect
1. Once the decompiling completes, go back into "APKTools" folder and you should see another folder (framework-res).
2. Open it, and go to: framework-res/res/values.
3. Right-click bools.xml and either press "edit" or "edit with Notepad++".
4. Find the line that says "(bool name="config_animateScreenLights">true</bool) (I changed the first and last part into brackets because it would comflict with the forum code, it should be "<" and ">" respectively).
5. Change the "true" to "false".
6. Save and close.
Compiling
1. Go back into APKTools folder where you had apktool.jar, apktool1.4.3.tar.bz2, etc.
2. Unzip apktool1.4.3.tar.bz2, and unzip again, inside should be a file called "apktools.jar". Replace the original one in "APKTool" folder.
3. Leave the folder (like you did in decompiling) and hold shift and right-click the folder and select "open command window here".
4. Type the following in the command window:
apktool b framework-res5. Now go to: APKTool/framework-res/dist/
6. There should a file created called "framework-res.apk", right-click and open with winRAR or 7-zip.
7. In winRAR, click "Extract To" and press OK. (Pretty sure you can extract in 7zip too).
8. This should create a new folder called "framework-res". Go inside it where you see the files (assets, res, AndroidManifest, resource.arsc).
9. Go find your original framework-res.apk (located in the root APKTool/ folder) and right-click and open with winRAR (or 7zip).
10. Select "META-INF" and "AndroidManifest.xml" and extract it to the folder created in step 8.
11. Select-all the files within the folder (of step 8) (it should now contain: assets, res, META-INF, AndroidManifest, resource.arsc) and right-click and "add to archive" (again, with winRAR - sure 7zip is something else).
12. In the prompt, change the following: Archive format = zip, Compression method = store. Press OK.
13. This should once again create a framework-res.zip file in the folder.
14. Press alt (assuming you are using Window 7) > Tools > Folder Options. Press the view tab, and uncheck "hide extensions for known file types.
15. Rename "framework-res.zip" to "framework-res.apk".
Now this "framework-res.apk" file is ready to be pushed to your phone's system/framework folder. Your phone should hang, restart it, and you now have CRT-Off effect! If you want to make a CWM flashable - below is the tutorial.
Making a CMW-Flashable File
1. Go below and download my template.zip. Extract the folder "template".
2. Take the completed framework-res.apk from earlier and place it in: template/system/framework.
3. In the template/ root directory, select META-INF and system and right-click, add to archive.
4. In the prompt, change the following: Archive format = zip. You can rename it to whatever you wish "LPS_CRTOff_On.zip".
5. Take the zip file to where your APK Multi Tool directory and place it in the "place-apk-here-for-signing" folder.
6. Open APK Multi Tool application from the start menu > programs.
7. Press any key to continue, and press 19 (Sign an apk (Batch Support)(inside place-apk-here-for-signing folder only)).
8. It should close when it is done, the zip is now ready to be flashed with your phone.
And there we go. I tried! LOL. Good luck. =) If I wasn't very clear, you can go back to my sources and derive what I did from them.
Sources
- [MOD] Decompile and Rebuild ICS framework-res.apk without errors by stars2
- [Tutorial] How to add CRT TV off effect by tweezit
- [TUTORIAL] How to create an CWM installable .zip (Mod) by FlorisNL
Thanks, thanks and thanks. This is the first method that works for me to decompile framework-res.apk and systemui.apk. Thank you.
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Brotuck said:
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Click to expand...
Click to collapse
I tried it with ICS roms and it did not work for me. Thus - having to use the apktool instead. =(
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
sileshnair said:
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
Click to expand...
Click to collapse
Sweet thanks!
@krazykat
On bools.xml:
<bool name="config_animateScreenLights">false</bool>
It is set to 'false' by default.
Any idea on this? Thanks in advance.
More info: Xperia Neo V, official ICS 4.0.4 by Sony
dafuq is CRT-OFF?
Thanks you so much @ OP
It was a very simple task.
Heey everyone here the quide for how to set up kitchen in linux virtualbox
Not made by me but made by the amazing guys from the unlockr Thanks!!!
Part 1
[I Before you begin]
1. This ONLY works for HTC Android devices at the moment, Also other devices!
[II. Download a Virtual Machine and Set It Up.]
1. Download VirtualBox for free from here (the one for Windows Hosts at the top). Then click next on the setup process until it installs.
2. Open VirtualBox and click on New.
3. Name the New Virtual Machine whatever you want (we named it Linux for simplicity’s sake).
4. For Operating System choose Linux, then choose Ubuntu for Version and click next.
5. Click Next again leaving the Memory Setting at what it is preselected at (should be 384mbs).
6. Click Next on the Boot Disk screen as well leaving boot hard disk and create new hard disk both selected.
7. Keep clicking Next until you get to the slider that asks how much space to set for the Linux. Move the slider to 8Gbs and click next.
8. Click next until it is done and shows you the original screen you started on but now with the Linux Machine Powered Off on the left.
[III. Install Linux Ubuntu on the Virtual Machine]
1. Download Ubuntu from here.
2. Once it is downloaded, in the VirtualBox program, click the Start button at the top.
3. Close out all the warnings that come up.
4. Then click on Devices > CD/DVD Devices > More CD/DVD Images… then select the .iso image for Ubuntu you downloaded.
6. Follow the prompts on the screen to install Ubuntu on your Virtual Machine.
7. Once it is installed and reboots, goto Applications > Accessories > Terminal and type this line with hitting enter at the end:
sudo apt-get install sun-java6-bin sun-java6-jre
It will ask you for a password, type in the password you created when you went through the Ubuntu installation process (it asked you for it before finishing the install).
Then it will ask you y/n. Hit y then enter. Then when it shows you the terms and conditions, hit right arrow on your keyboard and click enter to select ok. Then hit left arrow on your keyboard and enter to select Yes.
*NOTE – Your keyboard and mouse will not function on your regular computer once you use them in the Ubuntu virtual machine. To re-enable them, click the Ctrl button on the right side of your keyboard.
**IF YOU GET AN ERROR INSTALLING THE JAVA FILES,
Download the java files manually FROM INSIDE THE EMULATOR/LINUX using Firefox here:
Java6 Bin
Java6 Jre
Then open the Terminal App in Ubuntu and type this with hitting enter at the end of the line:
sudo dpkg -i sun-java6-jre_6.18-4_all.deb sun-java6-bin_6.18-4_i386.deb
And that should fix it.
[IV. Download and Setup The Android ROM Kitchen]
!THIS NEXT SECTION NEEDS TO BE DONE WITHIN THE UBUNTU VIRTUAL MACHINE!
1. Click on the Firefox logo at the top of your Ubuntu installation (in the Virtual Machine).
2. Type this into the url box:
theunlockr.com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen (to navigate to this page from within the virtual machine).
3. Now download the latest version of the kitchen file  in the first post from the link below(again from inside the Ubuntu installation on the virtual machine. We are doing this because we want to save this file in our Ubuntu Virtual machine, NOT our regular computer).
Kitchen
4. Again on the Ubuntu machine, Find the .zip file you just downloaded, right click it and click open with Archive Manager and then click Extract at the top.
5. Once you click Extract, it will ask you where. Double click the folder that has the name you created when you installed Ubuntu (my username was theunlockr so my folder is called theunlockr. It is the first folder under recently used in the list on the left). Then click Extract at the bottom right.
[V. Run the Android ROM Kitchen]
1. To run the Android ROM kitchen, click on Applications at the top of Ubuntu > Accessories > Terminal then type the following and hit enter:
./menu
2. You will now be greeted by the simple text menu of the application. Enjoy!
VI. Create Your First Custom ROM
=================================================
Part 2
Before You Begin
1. We are assuming you have already setup the Android kitchen. If not, use our How To Setup The Kitchen procedure and then come back to this one when done.
2. We are also assuming you have already done our How To Root and How To Load a Custom ROM for your phone and have a custom recovery image.
2. This ONLY works for HTC Android devices at the moment, Also other devices
3. Open the Kitchen in your Ubuntu Virtual Machine we created in the Kitchen Setup procedure by typing ./menu in the Terminal window in Ubuntu. Leave it open.
4. All of this is done INSIDE THE UBUNTU VIRTUAL MACHINE (that includes when I say “save to your computer” anywhere in here, means save to you Ubuntu Virtual Machine)!
II. Find a ROM to Dissect
There are two kinds of ROMs you can dissect to create your own custom ROM; Stock ROMs and Custom/Cooked ROMs. DsiXDA, creator of the ROM kitchen we are using, has put together a list of places to get stock ROMs for different devices and a quick how to load them into the kitchen:
From a Cooked ROM (Easiest Method):
1. Copy the update.zip (or equivalent ZIP file) to the original_update folder in the kitchen
2. Type the number for the option “Setup Working Folder from ROM” and hit enter in the Kitchen to create your working folder. (So if its number is 1, type 1 then hit enter).
From a Shipped ROM:
1. Find the shipped ROM for your device, usually from htc.com or from searching xda-developers (check the Wiki or sticky posts under your device’s sub-forum).
The links below may help:
2a. If the shipped ROM is in a .ZIP format, then simply extract the system.img and boot.img.
2b. If the shipped ROM is in .EXE format, then do the following:
A. In Windows, run the shipped ROM’s .EXE file till it gets to the first dialog. Stop there but don’t close the window yet.
B. Go to Start->Run and type: %TEMP%
C. When the folder opens, search for Rom.zip. Then, open it with an unzip tool. If you get errors trying to open the ZIP file with WinZip or the default Windows unzip program, then use 7Zip (download from here) to extract it.
D. Extract only two files from Rom.zip: system.img and boot.img
3. Copy the two .IMG files to your kitchen’s img_files folder in your Ubuntu Virtual Machine.
4. In the Terminal window that you opened in Section I, type 1 and hit enter to create a working folder from the two .img files.
Now, that you have either the update.zip in the original_update folder of the kitchen OR the system.img and boot.img of a shipped ROM in the img_files folder of the kitchen, you are ready to play with the ROM to make it your own.
III. Tweaking the Imported ROM Using the Automated Options in the Kitchen
So this is a basic kitchen, but you can do things like, add Root support, add/remove apps from the ROM, enable saving apps to the sd card, enabling Wifi tethering, do some automatic optimizations, and a few other things automatically just by selecting the option and hitting enter. It even allows you to put in your own scripts for the ROM to run (but that’s for more advanced users who know how to create scripts of course).
1. After importing a ROM using section II, select the options you want to do to the ROM (by typing the number of the option you want into the terminal/kitchen window and hitting enter. They are all pretty self explanatory.)
2. Continue this until you have all the automated options you want in the new ROM.
IV. Adding/Removing Applications from the ROM
1. In your Ubuntu Virtual Machine, goto Places at the top. Then click on Home Folder, then the WORKING folder that was created in section II when you dissected the original ROM or img files. Then goto system > app. (Also check Data > App as .apks can be put in there as well).
2. In the app folder you will see all the .apk files for all the applications you have currently in the ROM. Simply delete the ones you do not want to remove them from the ROM.
3. To add applications, simply copy any .apk file for the applications you want to add into the app folder.
V. Repackage the ROM so it can be Flashed onto a Phone
1. Once you have done whatever changes you want, you just need to type 99 and hit enter in the kitchen/terminal for the kitchen to take the working folder you have been messing with and compile it into a flashable update.zip ROM.
2. Once it is done compiling the ROM, we can transfer it to our phone.
VIa. Setup Ubuntu to See Your Phone via USB
1. In the Virtual Box windows with Ubuntu in it, click on Devices at the top then click Install Guest Additions. (It should autostart, if it doesn’t, click on the CD that appeared on the desktop in Ubuntu and then click on Autostart.sh. It will ask you for your password you created when setting up Ubuntu, put that in and let it install).
2. Once the Guest Additions are installed, close the Virtual Box Ubuntu Window (choose to Power Down the Machine).
3. Now, open Virtual Box itself (not Ubuntu) and highlight the Ubuntu machine, then click on Settings at the top.
4. Click on USB and make sure Enable USB Controller and Enable USB 2.0 are both enabled.
5. Now plug in your Android phone (do NOT mount the SD card, just plug it in).
6. Now in the USB menu of Virtual Box, click the + symbol on the right and then select your Android Device (name may be different).
7. Once that is installed, unplug your phone.
8. Now, Start your Ubuntu Virtual Box.
9. Once Ubuntu boots up, plug in your Android phone (do not mount the memory card yet) and look for the USB symbol at the bottom (fourth icon from the left) and hover over it and wait for it to say USB Device detected and display your phone. Once that happens, mount the sd card by pulling down the notification bar on your phone and clicking mount.
10. Ubuntu should pop up your SD card on the desktop (if any prompts come up just select do nothing and click ok). We can now transfer files to the memory card of our phone.
VIb. Use RapidShare to Transfer the File from Ubuntu to Windows (if Section VIa was giving you trouble)
1. If you can’t get the USB to work in Ubuntu, then simply open a Firefox browser window, goto Rapidshare.com and upload the ROM to there.
2.Once it is done uploading, ON YOUR WINDOWS COMPUTER NOT UBUNTU, put in the link it gave you when you finished uploading it, to download it to your Windows computer so we can transfer it to your phone.
VII. Flash the ROM
5. Copy the .zip file to the root of your SD card (NOT in any folders, just on the SD card itself).
6. Unplug the phone and turn it off.
7. Turn it back on by holding down home and power (do not let go until the recovery screen comes up) to get to recovery mode (you must have a custom recovery screen to do this, if you don’t find out How To Root and Load a ROM procedure for your phone and do those first).
8. Now select Nandroid Backup to create a backup before we flash the new ROM.
9. Once the backup is done, select Wipe Data / Factory Reset in recovery mode.
10. Select flash zip from sd card and select the ROM you just put on the sd card.
11. Once it is done flashing, click reboot. Enjoy!
Enjoy! Will update this as we add more things for you to tweak Feel free to suggest some in the meantime.
Thanks to DsiXDA for his awesome kitchen!
Thanks to Theunlockr For the amazing Guide !!!
greetings safariking
Video tutorials:
Part 2:http://www.youtube.com/watch?feature=player_embedded&v=q-1ErGSW0ik
Part 1: http://www.youtube.com/watch?feature=player_embedded&v=94Az1kcQvc4
Thanks safariking!
Thanks
very good tutorial thanks
Hi there
Does Android Kitchen Only work in virtual Machine for Ubunty? I have a full installtion of Ubunty and when I type ./menu at the terminal "no such file or directory" followed the installation video but I ain't getting nowhere
Cheers
atomicsoul said:
Hi there
Does Android Kitchen Only work in virtual Machine for Ubunty? I have a full installtion of Ubunty and when I type ./menu at the terminal "no such file or directory" followed the installation video but I ain't getting nowhere
Cheers
Click to expand...
Click to collapse
no.
kitchen can be used on all Linux/Unix OS.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)
Very nice job. We thank you for your time and effort for writing all of that
Thanks
Sent from my GT-S5660 using xda premium
Just a note: linux isnt required
You can use windows, but does require to install cygwin (linux like terminal)
Sent from my GT-S5660 using xda premium
:highfive:Hello,
i used this tut from this link below and sucsefully removed unlock text on my sgw with REBEL ROM
here is the link:
http://forum.xda-developers.com/showthread.php?t=1561369
the only differnce at me was the line to delete it into CircleLockScreen.smali.
.line 159
......
.......
Click to expand...
Click to collapse
i'm newbe but its very simple
If you like it press Thanks Button :fingers-crossed::fingers-crossed: by dev LegendK95 for this tut
P.S: At first i have error at cmd window and had to rename folder.
You can download the Unlock.rar file from DL Link unpack it on your PC push your android-policy.jar file into folder and follow the post from Dev.The Folder include all files you need to mod
DL:
http://dl.dropbox.com/u/70025396/Unlock.rar
IF YOU WANT CHANGE LOCKSCREEN TEXT AND ANOTHER ONE THIS IS TUTORIAL HOW I DO THAT SUCCSEFULLY!!!
You need:
1.APK Manager or APK tool installed on your PC and Notepadd++ for editing .xml files and 7Zip to open .apk files
2.Copy your original framework-res.apk into Input Folder
3.rund script.bat for Windows user right click run as admin.
4.Choose first option 22 to set the current project
5.Choose 9 to decompile framework-res.apk
6.now you goto folder /projects/framework-res.apk/res/values/strings.xml and open it with Notepad++
7.Now you can edit what you want to change.(THIS IS ONLY FOR ENGLISH!!!)
7a. Ctrl+f and searc for "swipe to unlock" and change text
7.b I look by Ibanez7 some silly Screenshot where he changed
RECOVERY---> BOOTLOOP or
DOWNLOAD --> HARDBRICK :laugh::laugh:
you can change if you want those things just a few lines under Unlocktext line,you see it.
see here :
http://dl.xda-developers.com/attach.../4/8/0/6/5/uploadfromtaptalk1340385533687.jpg
If your system language is e.g German as by me you must goto
values-de/strings.xml and make changes there.
All changes made now we must recompile framework-res.apk
8. Choose 11 to recompile and wait
8a. Choose Y for system file and choose Y at second question.
8.b we have 2 folders now build and keep folders
9.We made changes of .xml files so we goto keep folder on the root and delete resources.arsc from keep folder and push any button
9a. into input folder we have file unsignedframework-res.apk
9b. Choose 12 to resign the file.
When i put those file into system/framework folder i have a lot of FC so i do a follow step.(IT'S VERY IMPORTANT)
10. Choose original framework-res.apk rightclick -->7Zip--->Open (let this window open)
11. Goto Apk Manager Folder then to projects/framework-res.apk/built/apk and pick the resources.arsc file and drag and drop copy into 7 Zip Opened window.Apply it.
12.Close 7Zip Window.
13.Push framework-res.apk file from input folder NOT signedframework-res.apk
into system/framework and overwrite the original one.
14 Reboot once and thats all
Enjoy :highfive::highfive::highfive:
C ya
If you like it press -----> Thanks Button
help!!
AsmirGT said:
:highfive:Hello,
i used this tut from this link below and sucsefully removed unlock text on my sgw with REBEL ROM
here is the link:
http://forum.xda-developers.com/showthread.php?t=1561369
the only differnce at me was the line to delete it into CircleLockScreen.smali.
i'm newbe but its very simple
If you like it press Thanks Button :fingers-crossed::fingers-crossed: by dev LegendK95 for this tut
P.S: At first i have error at cmd window and had to rename folder.
You can download the Unlock.rar file from DL Link unpack it on your PC push your android-policy.jar file into folder and follow the post from Dev.The Folder include all files you need to mod
DL:
http://dl.dropbox.com/u/70025396/Unlock.rar
IF YOU WANT CHANGE LOCKSCREEN TEXT AND ANOTHER ONE THIS IS TUTORIAL HOW I DO THAT SUCCSEFULLY!!!
You need:
1.APK Manager or APK tool installed on your PC and Notepadd++ for editing .xml files and 7Zip to open .apk files
2.Copy your original framework-res.apk into Input Folder
3.rund script.bat for Windows user right click run as admin.
4.Choose first option 22 to set the current project
5.Choose 9 to decompile framework-res.apk
6.now you goto folder /projects/framework-res.apk/res/values/strings.xml and open it with Notepad++
7.Now you can edit what you want to change.(THIS IS ONLY FOR ENGLISH!!!)
7a. Ctrl+f and searc for "swipe to unlock" and change text
7.b I look by Ibanez7 some silly Screenshot where he changed
RECOVERY---> BOOTLOOP or
DOWNLOAD --> HARDBRICK :laugh::laugh:
you can change if you want those things just a few lines under Unlocktext line,you see it.
see here :
http://dl.xda-developers.com/attach.../4/8/0/6/5/uploadfromtaptalk1340385533687.jpg
If your system language is e.g German as by me you must goto
values-de/strings.xml and make changes there.
All changes made now we must recompile framework-res.apk
8. Choose 11 to recompile and wait
8a. Choose Y for system file and choose Y at second question.
8.b we have 2 folders now build and keep folders
9.We made changes of .xml files so we goto keep folder on the root and delete resources.arsc from keep folder and push any button
9a. into input folder we have file unsignedframework-res.apk
9b. Choose 12 to resign the file.
When i put those file into system/framework folder i have a lot of FC so i do a follow step.(IT'S VERY IMPORTANT)
10. Choose original framework-res.apk rightclick -->7Zip--->Open (let this window open)
11. Goto Apk Manager Folder then to projects/framework-res.apk/built/apk and pick the resources.arsc file and drag and drop copy into 7 Zip Opened window.Apply it.
12.Close 7Zip Window.
13.Push framework-res.apk file from input folder NOT signedframework-res.apk
into system/framework and overwrite the original one.
14 Reboot once and thats all
Enjoy :highfive::highfive::highfive:
C ya
If you like it press -----> Thanks Button
Click to expand...
Click to collapse
it keeps me sending annoying FC screens.. i follow all the directions carefully, what should i do
thenks
Thanks to help from Drummerjed, for doing more than making this mod, but for teaching me to do it myself.
I leave here the framework-res.apk modified by me (for cm10.2 stable version only) and the guide made by Drummerjed
by Drummerjed:
"Hi, it's very easy to do:
1.Download the latest version of Tickle My Android from here - http://forum.xda-developers.com/show....php?t=1633333
2. Install it using the instructions in the first post
3. Open Tickle My Android and select Option 2 (Theming Menu)
4.Then select Option 2 (Pull Files From Device)
5. Connect your phone to your PC, make sure you have ADB installed correctly on your PC and 'USB debugging' is enabled on your phone
6. Select Option 1 to pull framework-res.apk from your phone
7. When it asks you if you'd like to decompile the file say yes
8. Then select yes again when it asks you if you'd like to install the file to the PC
9. Go to the '_working' folder in the 'TickleMyAndroid' directory and open the 'framework-res.apk' folder
10. Navigate to 'res/values/dimens.xml' and open 'dimens.xml' with notepad++
11. You should see "navigation_bar_height" "navigation_bar_height_landscape" and "navigation_bar_width" near the top of the list
12. Change the values of these strings to 36.0dip, 36.0dip and 32.0dip in that order
13. Save the file. Close Tickle My Android if it's already open, then launch it again
14. Select Option 2 (Theming Menu) again
15. Then select Option 14 (Recompile Files)
16. Select Option 2 (Recompile App With Original Signature)
17. Select "framework-res.apk" then say yes to recompile it
18. The new "framework-res.apk" file will be in the '_out' folder in the 'TickleMyAndroid' directory
19. Now simply push this file to your phone and move it to /system/framework and overwrite when prompted. Or you can create a flashable zip with Tickle My Android, just select Option 17 from the Theming Menu
Hope this helps. This guide should work with all future versions of Android."
To use my framework-res.apk modified just use some app file manager (eg root explorer) and put in the folder /system/framework. For me to put the apk the device reboots automatically but it works.
Remember to make a backup before, it may give some wrong things ok!
I found a way to make this modification. Later I put here the framework-res.apk changed.
And a little tutorial how to do, and the credits of who showed me how.